package com.ma.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ldc
 * @since 2023-08-28
 */
@Getter
@Setter
@ApiModel(value = "Appointment对象", description = "")
public class Appointment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("预约id")
    private Integer id;

    @ApiModelProperty("用户的id")
    private Integer userId;

    @ApiModelProperty("预约时间")
    private LocalDateTime time;

    @ApiModelProperty("医生的id")
    private Integer doctorId;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
}
